package com.youlai.boot.energyPlan.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.energyPlan.model.entity.UserEnergyPlan;
import com.youlai.boot.energyPlan.model.form.UserEnergyPlanForm;

/**
 * 用户能量计划对象转换器
 *
 * @author cuishng
 * @since 2025-04-01 14:56
 */
@Mapper(componentModel = "spring")
public interface UserEnergyPlanConverter{

    UserEnergyPlanForm toForm(UserEnergyPlan entity);

    UserEnergyPlan toEntity(UserEnergyPlanForm formData);
}